package com.example.demo.entity;

public class BookResource {
    private int id;
    private int book_id;
    private String type;
    private String down_link;

    public BookResource() {
    }

    public BookResource(int id, int book_id, String type, String down_link) {
        this.id = id;
        this.book_id = book_id;
        this.type = type;
        this.down_link = down_link;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getBook_id() {
        return book_id;
    }

    public void setBook_id(int book_id) {
        this.book_id = book_id;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getDown_link() {
        return down_link;
    }

    public void setDown_link(String down_link) {
        this.down_link = down_link;
    }

    @Override
    public String toString() {
        return "BookResource{" +
                "id=" + id +
                ", book_id=" + book_id +
                ", type='" + type + '\'' +
                ", down_link='" + down_link + '\'' +
                '}';
    }
}
